#ifndef DBARTISTE_H
#define DBARTISTE_H

#include "../core/dtartist.h"
#include "../core/collection.h"

#include <QString>
#include <QList>

static const QString dbArtistStr =
        "DbArtist";
static const QString dbArtistCreate =
        "create";
static const QString dbArtistDestroy =
        "destroy";
static const QString dbArtistUpdate =
        "update";

class DbArtist
{
public:
    DbArtist();
    static bool create(QList<DtArtist *> &listArtist);
    static bool destroy(const QList<DtArtist *> &listArtist);
    static bool update(const QList<DtArtist *> & listArtist);
    static bool getAll(Collection & collection);
    static bool setHeart(const DtArtist &artist);
};

#endif // DBARTISTE_H
